<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      class Person {}
      const p = new Person();

      console.log({} instanceof Object);
      console.log([1, 2, 3] instanceof Array);
      console.log(p instanceof Person);

      // console.log({} instanceof Object);
      // console.log([] instanceof Object);
      // console.log(p instanceof Object);
    </script>
  </body>
</html>
